﻿using System;

namespace 建造者模式
{
    public  class FatPersonBuilder:Builder
    {
        public FatPersonBuilder()
        {
            Person=new Person();
        }
        public override void BuildHead()
        {
            Person.Head = "fatHead";
        }

        public override void BuildBody()
        {
            Person.Body = "fatbody";
        }

        public override void BuildArm()
        {
            Person.Arm = "fatarm";
        }

        public override void BuildLeg()
        {
            Person.Leg = "fatleg";
        }

    }
}
